package edu.sctu.xiangkun.day201506.day20150626;



/**
 * Created by user04 on 2015/6/28.
 */
public class JsonData {
    public static void printData(JsonAppbean jsonAppbean){
        System.out.println("error:" + jsonAppbean.error);
        System.out.println("message:" + jsonAppbean.message);
        System.out.println("count:" + jsonAppbean.count);

        System.out.println("ID_card:"+jsonAppbean.user.ID_card);
        System.out.println("department:"+jsonAppbean.user.department);

        for (int i = 0; i < jsonAppbean.list.size(); i++) {
            System.out.println();
            System.out.println("学生" + (i + 1));
            System.out.println("name:" + jsonAppbean.list.get(i).name);
            System.out.println("age:" + jsonAppbean.list.get(i).age);
        }
    }
}
